<template>
    <div class="ejectP">
           <u-navbar :is-back="true" title="弹出设备" back-text='' >
      <view class="slot-right" style="width: 100%;display: flex;justify-content: flex-end;" >
				<!-- <div>
                <image @click="goSettingM" style="width: 1rem;padding: 1rem;" src="../../style/image/my/设 置.png" alt="">
                </div> -->
			</view>
      </u-navbar>

        <div  class="showDatas">
                <div  class="showDatas-item"  v-for="(item,index) in showDatas" :key="index" >

                        <div style="display: flex;
align-items: center;
font-size: 0.78rem;
font-family: PingFang SC;
font-weight: 300;
color: #000000;">
                        <div>U600底座</div>
                         <div>(123312312)</div>
                        </div>

                        <div @click="goejectNextM"  style="display: flex;
align-items: center;">
                            <image style="width: 0.7rem;height:0.7rem;
padding: 0.2rem;" src="../../style/image/Shome/tequipt.jpg" alt="">
                            <div style="
font-size: 0.77rem;
font-family: PingFang SC;
font-weight: 300;
color: #02AF74;
line-height: 3.28rem;" >弹出设备</div>
                        </div>
                </div>
        </div>
    </div>
   
</template>

<script lang='ts' >

 import { Component, Prop,Vue, Watch ,Emit} from 'vue-property-decorator'


 @Component({     //   @Component  是一个装修器   不可以在下面写语句
        name: 'test',
    })


    export default class extends Vue {
 
     @Prop({
            type: String, // 父组件传递给子组件的数据类型
            required: false, // 是否必填
            default: ' ' // 默认值， 如果传入的是 Object，则要 default: ()=>({}) 参数为函数
        }) msg!:string;


        public showDatas=[
                {
                    name:'U600底座',
                    phone:'123312312'
                },
                   {
                    name:'U600底座',
                    phone:'123312312'
                },   {
                    name:'U600底座',
                    phone:'123312312'
                },   {
                    name:'U600底座',
                    phone:'123312312'
                }
        ]
       
         created() {
          }

          mounted() {
              //  console.log('父组件传递的参数:',this.$parent)   //暂时不考虑

    //  uni.navigateTo({
    // url: './selectBusin'
    // });
          }

          goejectNextM(){
          
            console.log('123')
                uni.navigateTo({
    url: '../sEquiptment/ejectNext'
    });
          }

    }
</script>

<style  lang="scss"  scoped>

.ejectP{

    background-color: #f4f5f7;
height: 100vh;
}
.showDatas-item{
display: flex;
align-items: center;
background-color: white;
margin: 0.5rem;
padding: 0.1rem 1rem;
border-radius: 8px;
}

.showDatas-item{

 display: flex;
 justify-content: space-between;
 align-items: center;
}

</style>